// 评论回复接口
import httpInstance from './index'

/**
 * 根据帖子 id 获取评论接口
 * @param {Number} postId 帖子 id
 */
export function getPostCommentByPostId(postId) {
	return httpInstance.get(`/postComment/getPostCommentByPostId/${postId}`)
}

/**
 * 根据评论 id 获取评论回复接口
 * @param {Number} commentId 评论 id
 */
export function getPostCommentReplyByCommentId(commentId) {
	return httpInstance.get(`/postComment/getPostCommentReplyByCommentId/${commentId}`)
}